package org.opsli.api.wrapper.business.fileManage;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.api.base.warpper.ApiWrapper;
import org.opsli.common.annotation.validator.ValidatorLenMax;
import org.opsli.plugins.excel.annotation.ExcelInfo;

@Data
@EqualsAndHashCode(callSuper = false)
public class FileManageModel extends ApiWrapper {

    /** 主键 */
    @ApiModelProperty(value = "主键")
    @ExcelProperty(value = "主键", order = 1)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String fileid;

    /** 文件存储位置 */
    @ApiModelProperty(value = "文件存储位置")
    @ExcelProperty(value = "文件存储位置", order = 2)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String docpath;

    /** 文件名 */
    @ApiModelProperty(value = "文件名")
    @ExcelProperty(value = "文件名", order = 3)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String filepath;
}
